package com.zz.springboot.exception;

import com.zz.springboot.resp.enums.BasicEnum;

public class BizException extends BasicException {

    public BizException(){}

    public BizException(BasicEnum basicEnum) {
        this.errCode = basicEnum.getErrCode();
        this.errMsg = basicEnum.getErrMsg();
    }

    public BizException(String errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }

}
